home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000374_jaltman@columbia.edu_Tue Nov 4 09:37:31 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-11-18
|
3KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pass a password in a kermit script
Date: 4 Nov 2003 13:47:32 GMT
Organization: Columbia University
Lines: 33
Message-ID: <bo8alk$55$2@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <slrnbqdfj1.me9.fdc@sesame.cc.columbia.edu> <m1fzh4bym2.gnus@usa.net>
NNTP-Posting-Host: mango.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067953652 165 128.59.59.104 (4 Nov 2003 13:47:32 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Nov 2003 13:47:32 GMT
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14633
those who know me have no need of my name <not-a-real-address@usa.net> wrote:
: in comp.protocols.kermit.misc i read:
:> ftp://kermit.columbia.edu/kermit/scripts/ckermit/autossh
:>
:>You'll have to experiment with it. I don't recall the details but I'm
:>pretty sure I concluded it was impossible for Kermit to respond to the
:>ssh client's password prompt. See the comments in the script.
: it should be possible, provided that c-kermit runs ssh in a pty
: environment, as ssh just uses /dev/tty (often via getpass() or it's kin).
Of course C-Kermit can send the password to the SSH client, this could
be done either as part of the script or as part of the built in command.
It just that neither is being done at the current time. The point the
comment in the script is supposed to make is that since K95 has OpenSSH
built into the program it is able to automate the use of the password
in ways which the PTY support in C-Kermit cannot. (For example, know
to use a password as the key to access a private key file, or as input
to obtain a Kerberos credential, or as input to one of the many auth
types which require a password.
The reason it is hard in a generic script to handle all of these cases
is that it requires time to research all of the possible prompts.
Clearly, the author of the script did not take this time. Members of
the Kermit community are welcome to perform modifications and contribute
updates.
--
Jeffrey Altman * Volunteer Developer Kermit 95 2.1 GUI available now!!!
The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP
http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and
kermit-support@columbia.edu OpenSSL.